package com.surfacing.rcp.model.codec;

import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;

import com.surfacing.rcp.model.common.AbstractMessage;

/**
 * Interface for message encoders
 * 
 * @author Michael
 */
public interface MessageEncoder {
	public void doEncode(AbstractMessage message, XMLStreamWriter writer)
			throws XMLStreamException;
}
